<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{{ .title }} - ToLog</title>

    <link rel="stylesheet" href="/static/css/bootstrap.min.css">
</head>
<body>

    <div class="container">
        {{block "content" .}}{{end}}  <!-- 核心：内容占位符 -->
    </div>

    <script src="/static/js/bootstrap.bundle.min.js"></script>
</body>
</html>